<?php 
print $this->element('errors');
print $this->Form->create('User', array('url' => array('controller' => 'users', 'action' => 'login') ));
?>
<table>
  <tr>
    <td>Benutzername</td>
    <td><?php print $this->Form->text('username');?></td>
  </tr>
  <tr>
    <td>Passwort</td>
    <td><?php print $this->Form->password('password');?></td>
  </tr>
</table>
<?php print $this->Snapfacebook->facebookLoginButton();?><br/>
<?php print $this->Html->link('Login with Twitter', array('controller' => 'users', 'action' => 'authorizeTwitter'));?>

<?php 

print $this->Form->end('Login');

?>